<template>
  <div id="BasicLayout">
    <a-layout>
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>

      <a-layout-content class="content">
        <router-view />
      </a-layout-content>

      <a-layout-footer class="footer">
        <a href="https://gitee.com/wen-jinzhao/intelligent-cloud-library" target="_blank">
          智能云图库 by Oliver
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue'
</script>

<style scoped>
#BasicLayout{
}

#BasicLayout .header{
  padding-inline: 20px;
  margin-bottom: 20px;
  color: unset;
  background: white;
}

 #BasicLayout .content {
   background: linear-gradient(to right, #fefefe, #fff);
   margin-bottom: 35px;
   min-height: 500px;
   padding: 20px;
 }



#BasicLayout .footer {
  //background: #efefef;
  padding: 16px;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}
</style>
